/**index.scss**/
page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.header-item {
  margin: 15rpx;
}

.header-area {
  margin: 10rpx 10rpx; 
  font-weight: bold; 
  align-items: center; 
  justify-items: center;
  width: fit-content;
}

.header-search {
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  justify-items: center; 
  grid-template-columns: 10% 90%;flex: 20%;
}

.tabs-track {
  position: absolute;
  font-weight: 600;
  z-index: 1;
  transition-duration: 0.3s;
  background-color:#10c598;
  left: 0;
  bottom: 1px;
  width: 20px;
  height: 3px;
  -webkit-transform: translateX(40rpx);
  transform: translateX(40rpx);
  border-radius: 5rpx;
}


.scrollarea {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
.scrollarea ::-webkit-scrollbar {
  width: 0px; /* 滚动条的宽度 */
  color: rgb(61, 58, 58);
}
.search {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 0rpx;
  background: #fff;
}
.search .input { 
  width: 100%;
}
/**
.search .input {
  width: 690rpx;
  height: 56rpx;
  background: #ededed;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}
*/
.custom-search {
  padding: 10rpx;
  padding-left: 60rpx;
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 15px 15px 15px 15px;
}

.search .icon {
  position: absolute;
  margin-top: 22rpx;
  margin-left: 25rpx;
  background: url("https://xinxinji.cn/miniapp/icon_search.png");
  background-size: 100%;
  width: 28rpx;
  height: 28rpx;
}

.search .txt {
  height: 42rpx;
  line-height: 42rpx;
  color: #666;
  padding-left: 10rpx;
  font-size: 30rpx;
}

.swiper {
  width: 100%;
  height: 400rpx;
}

.m-menu {
  display: flex;
  height: 120rpx;
  width: 750rpx;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}

.m-menu .item {
  flex: 1;
  display: block;
  padding: 15rpx 0;
}
.m-menu image {
  display: block;
  width: 58rpx;
  height: 58rpx;
  margin: 0 auto;
  margin-bottom: 12rpx;
}

.m-menu text {
  display: block;
  font-size: 24rpx;
  text-align: center;
  margin: 0 auto;
  line-height: 1;
  color: #333;
}

.demo-text-1 {
  background-color: red;
} 
.demo-text-2 {
  background-color: green;
}
.demo-text-3 {
  background-color: blue;
}

.good-grid {
  width: 750rpx;
  height: auto;
  overflow: hidden;
  background:#f9f9f9;
}

.good-grid .h {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  height: 70rpx;
  font-size: 33rpx;
  color: #333;
}

.good-grid .b {
  width: 750rpx;
  height: auto;
  overflow: hidden;
  padding: 0 20rpx;
}

.good-grid .b .item {
  display: block;
  float: left;
  width: 345rpx;
  margin-bottom: 30rpx;
  height: auto;
  overflow: hidden;
  text-align: center;
}

.good-grid .b .item:nth-child(2n + 1) {
  margin-right: 20rpx;
}

.good-grid .item .img {
  width: 345rpx;
  height: 345rpx;
  background: #f8f8f8;
  margin-bottom: 10rpx;
}

.good-grid .item:first-child .img {
  width: 345rpx;
  height: 345rpx;
  background: #f8f8f8;
  margin-bottom: 10rpx;
}

.good-grid .item .name {
  width: 100%;
  overflow: hidden;
  height: 40rpx;
  line-height: 40rpx;
  text-align: left;
  font-size: 30rpx;
  color: #333;
}

.good-grid .item .price {
  width: 100%;
  height: 46rpx;
  line-height: 46rpx;
  text-align: left;
  font-size: 35rpx;
  color: #b4282d;
}
.good-grid .item .distance {
  width: 100%;
  height: 46rpx;
  line-height: 46rpx;
  text-align: left;
  font-size: 30rpx;
  color: #b4282d;
}
